#ifndef _REPR_H_
#define _REPR_H_
#include "ast/exprType.h"
#include "AstTypes.h"
class IVisitor;
class Repr;
typedef QSharedPointer<Repr> ReprPtr;

class Repr: public exprType
{
public:
    explicit Repr(const exprTypePtr& value, int nodeId=-1);
    virtual ~Repr();
    
    
    exprTypePtr value();
    void setValue(const exprTypePtr& value);
    
    
    virtual Ast::AstTypes type() const;
    virtual QString toString() const;
    virtual void accept(IVisitor* visitor, const SimpleNodePtr& node);
    virtual void traverse(IVisitor* visitor);
private:
    exprTypePtr _value;
};




#endif